/**
 * Copyright &copy; 2015-2020 <a href="http://www.easyhis.com/">easyhis</a> All rights reserved.
 */
package com.easy.dfc.mapper;

import com.easy.core.persistence.BaseMapper;
import com.easy.core.persistence.annotation.MyBatisMapper;
import com.easy.dfc.entity.DfcActivityEnroll;
import com.easy.dfc.entity.DfcFactoryUpgrade;
import com.easy.dfc.entity.DfcLive;
import org.apache.ibatis.annotations.Param;

/**
 * MAPPER接口
 * @author waylen chi
 * @version 2017-12-05
 */
@MyBatisMapper
public interface DfcActivityEnrollMapper extends BaseMapper<DfcActivityEnroll> {

    void updateTradeNo(@Param(value="enrollId")String enrollId, @Param(value="tradeNo")String tradeNo);

    DfcActivityEnroll findByTradeNo(@Param(value="outTradeNo")String outTradeNo);

    void updateSucessStatus(@Param(value="id")Integer id);

    void insertLive(DfcLive live);
}